home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Directorty Opus 5 - Magellan
/
Opus 5 - Magellan.iso
/
Extras
/
hotlist_source
/
source
/
makefile
< prev
next >
Wrap
Makefile
|
1996-10-18
|
2KB
|
63 lines
# Makefile for hotlist.module by Leo Davidson
# **!!NOTE!!** hotlist.module uses a custom version of modinit.c
# Originally based on the makefile for example.module from the OpusSDK.
MODULEOBJS = hotlist.module.o hotlist.module_strings.o ResourceNodes.o
MODULEVER = 1
MODULEREV = 2
# Compiler options -- The OPTIMIZE line should be used for release versions.
#CCOPTS = noversion
CCOPTS = noversion OPTIMIZE
#CCOPTS = noversion DEBUG=LINE
# Linker options
SLINKOPTS = noicons stripdebug smallcode smalldata
#SLINKOPTS = noicons smallcode smalldata
#########################################################################
hotlist.module: $(MODULEOBJS) hotlist.module.h hotlist_modinit.o
slink with <<
libprefix _L_
libfd modules.fd
from lib:libent.o lib:libinit.o hotlist_modinit.o $(MODULEOBJS)
to $@
lib lib:sc.lib lib:amiga.lib lib:dopuslib.lib
libversion $(MODULEVER)
librevision $(MODULEREV)
$(SLINKOPTS)
<
#########################################################################
hotlist.module.o: hotlist.module.c hotlist.module_strings.o
hotlist.module.o: ResourceNodes.o hotlist.module.h
#########################################################################
hotlist.module_strings.o: hotlist.module.strings
setdate hotlist.module_strings.c
sc $(CCOPTS) hotlist.module_strings.c
#########################################################################
ResourceNodes.o: ResourceNodes.c ResourceNodes.h hotlist.module.h
ResourceNodes.o: hotlist.module.strings
#########################################################################
.c.o:
sc $(CCOPTS) $*.c
.asm.o:
sc:c/asm -iASMINC: $*.asm
.cd.strings:
catcomp descriptor=$*.cd cfile=$*.strings
#########################################################################
clean:
-@delete \#?.(o|strings)